package com.itheima.service;

import com.itheima.pojo.Brand;
import com.itheima.pojo.pageBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BrandService {


    List<Brand> selectAll();

    void Add(Brand brand);

    void deleteByIds(int[] ids);

    pageBean<Brand> selectByPage(int page, int rows);

    pageBean<Brand> selectByPageAndCondition(int page, int rows,Brand brand);

    void deleteById(int id);

    void updateById(Brand brand);


}
